#ifndef _TYPES_H
#define _TYPES_H

#define CARRIER

#define UINT8 unsigned char
#define INT8 char
#define INT16 int
#define UINT8 unsigned char
#define UINT16 unsigned int
#define UINT32 unsigned long

#define TRUE    1
#define FALSE   0 
//#define NULL    0

//#define ENTER_CRITICAL()  {EA = 0;}
//#define EXIT_CRITICAL()  {EA = 1;}

#define SET(port, bit)  { port |= (1 << bit); }
#define CLR(port, bit)  { port &= ~(1 << bit); }



#endif 
